package com.cy.java.net;

import java.io.IOException;
import java.net.Socket;

public class MainClient {//Browser
    public static void main(String[] args) throws IOException {
        //建立连接
        Socket socket=new Socket("127.0.0.1", 9000);
        //读写数据
        //释放资源
        socket.close();
    }
}
